package com.seawaterbt.springbootshiro.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("t_student")
public class Student implements Serializable {

    private static final long serialVersionUID = 3514122540306700171L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    @ApiModelProperty
    private Integer age;
    private String address;

}
